package cn.plushine.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.List;

/**
 * 货物信息
 */
@ApiModel(description = "货物信息")
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Goods {
    @ApiModelProperty(value = "货物id")
    private int id;
    @ApiModelProperty(value = "货物名称")
    private String name;
    @ApiModelProperty(value = "货物规格")
    private List<Label> labels;
    @ApiModelProperty(value = "货物图片")
    private List<Image> images;
    @ApiModelProperty(value = "品牌")
    private Brand brand;
    @ApiModelProperty(value = "单位")
    private Unit unit;
    @ApiModelProperty(value = "默认进价")
    private BigDecimal inPrice;
    @ApiModelProperty(value = "默认出价")
    private BigDecimal outPrice;
    @ApiModelProperty(value = "默认仓库")
    private Warehouse warehouse;
    @ApiModelProperty(value = "默认分区")
    private WarehouseArea warehouseArea;
    @ApiModelProperty(value = "默认库位")
    private WarehousePosition warehousePosition;
    @ApiModelProperty(value = "货物状态")
    private boolean flag;
    @ApiModelProperty(value = "备注")
    private String others;
    @ApiModelProperty(value = "库存")
    private int cnt;
}
